package com.fh.shop.api.order.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class Order implements Serializable {
    // input类型，就代表这个id值，是手工设置的
    @TableId(type = IdType.INPUT)
    private String id;

    private BigDecimal totalPrice;

    private Integer totalCount;

    private Long memberId;

    private Long recipientId;

    private String recipientName;
    private String addr;
    private String phone;

    private Date createTime;

    private Date payTime;

    private Date sendTime;

    private Date receiveTime;

    private Integer payType;

    private Integer status;

}
